<?php

namespace app\controller;

use app\model\TmpWriteModel;
use think\facade\Db;
use think\annotation\route;

class ReaderTyeController
{
    /**
     * @route ("getAllReaderTypes")
     */
    public function getAllReaderTypes(): \think\response\Json
    {
        return json(Db::table("读者类型")->select());
    }
}